package cn.byapps.client1.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * IndexController
 */
@RestController
public class IndexController {

    @GetMapping("index")
    public Map<String,String> index(){
        Map<String,String> map = new HashMap<>();
        map.put("user","中国人");
        map.put("key", "123456");
        return map;
    }
}